<template>
  <div>
    hello App !!
    <hr>
    {{ title }}
    <hr>
    <button @click="say">say</button>
    <hr>
    <!-- 调用组件 -->
    <Home a="100" b="200" title="hello jack"></Home>
    <Cart title="hello lili" email="lili@qq.com" age="20"></Cart>
  </div>
</template>
<script>
// export default new Vue({})
export default {
  // data:{}
  data() {
    return {
      title: 'hello App !!'
    }
  },
  // render: (h) => {
  //   return h('div', ['hello'])
  // },
  watch: {},
  computed: {},
  methods: {
    say() {
      console.log('hello App');
    }
  }
} 
</script>
<style>
div {
  border: solid;
  padding: 10px;
}
</style>